package com.nt.train.service.impl;
import com.nt.train.service.WithdrawStrategy;
import org.springframework.stereotype.Component;

/**
 * 三方支付结算
 * @author hlf
 * @version 1.0
 * @date 2022/8/5 11:05
 */
@Component
public class ThirdPartyPaymentStrategy implements WithdrawStrategy {

    /**
     * 获取当前提现类型标识
     * @return 提现类型标识
     */
    @Override
    public int getType() {
        return 3;
    }

    /**
     * 订单结算
     * @param orderIds 订单id
     */
    @Override
    public void settlement(String[] orderIds) {
        //todo: 进行结算
    }
}
